package com.example.volleydemo;

import com.android.volley.RequestQueue;
import com.android.volley.toolbox.StringRequest;
import com.android.volley.toolbox.Volley;

import android.app.Application;
import android.content.Context;

public class MyApplication extends Application {
	private static RequestQueue requestQueue;
	@Override
	public void onCreate() {
		requestQueue=Volley.newRequestQueue(getApplicationContext());
		super.onCreate();
	}
	public static RequestQueue getRequestQueue() {
		return requestQueue;
	}
}
